package hu.diploma.common.vos;

import hu.diploma.common.enums.DataSubType;

public class AddressVo extends BaseVo {

	private String pobox;
	private String street;
	private String city;
	private String state;
	private String postalCode;
	private String country;
	private DataSubType type;
	private PersonVo person;

	public String getPobox() {
		return this.pobox;
	}

	public void setPobox(String pobox) {
		this.pobox = pobox;
	}

	public String getStreet() {
		return this.street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getPostalCode() {
		return this.postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public DataSubType getType() {
		return this.type;
	}

	public void setType(DataSubType type) {
		this.type = type;
	}

	public void setPerson(PersonVo people) {
		this.person = people;
	}

	public PersonVo getPerson() {
		return this.person;
	}

	@Override
	public String toString() {
		return "AddressVo [city=" + this.city + ", country=" + this.country + ", pobox=" + this.pobox + ", postalCode=" + this.postalCode + ", state="
				+ this.state + ", street=" + this.street + ", type=" + this.type + ", getDeleted()=" + this.getDeleted() + ", getId()=" + this.getId()
				+ ", getPhoneId()=" + this.getPhoneId() + ", getVersion()=" + this.getVersion() + "]";
	}

}
